package c.a.a.z.c;

import c.a.a.e0.f;
import c.a.a.f0.a;
import c.a.a.f0.c;
import c.a.a.f0.d;
import java.util.List;

/* compiled from: ScaleKeyframeAnimation */
public class k extends f<d> {
    public final d i = new d();

    public k(List<a<d>> list) {
        super(list);
    }

    public Object f(a aVar, float f) {
        Object obj = aVar.b;
        if (obj != null) {
            Object obj2 = aVar.c;
            if (obj2 != null) {
                d dVar;
                d dVar2 = (d) obj;
                d dVar3 = (d) obj2;
                c cVar = this.e;
                if (cVar != null) {
                    dVar = (d) cVar.a(aVar.e, aVar.f.floatValue(), dVar2, dVar3, f, d(), this.d);
                    if (dVar != null) {
                        return dVar;
                    }
                }
                dVar = this.i;
                float e = f.e(dVar2.a, dVar3.a, f);
                f = f.e(dVar2.b, dVar3.b, f);
                dVar.a = e;
                dVar.b = f;
                return this.i;
            }
        }
        throw new IllegalStateException("Missing values for keyframe.");
    }
}
